<#import "../layout.html" as c>
    <#import "../list_layout.html" as list>
        <#assign alertList = []/>
        <@c.html title="实名认证列表">
        <!-- ================== 开始页面级CSS调用 ================== -->
        <link href="${pluginsRoot}bootstrap-wizard/css/bwizard.min.css" rel="stylesheet"/>
        <!-- 日历控件 -->
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/WdatePicker.css" rel="stylesheet"/>
        <link href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/default/datepicker.css" rel="stylesheet"/>
        <!-- ================== 结束页面级CSS调用 ================== -->
        <@list.html title="实名认证列表" subTitle="实名认证列表" alertList=alertList permi="sys:real:list" addBtn=false searchHint="">

         <@shiro.hasPermission name="sys:real:audit">
             <input type="hidden" id="realAudit" value="1"/>
         </@shiro.hasPermission>
         <@shiro.hasPermission name="sys:real:look">
            <input type="hidden" id="realLook" value="1"/>
         </@shiro.hasPermission>
        <!-- 结束用户权限参数 -->

        <!-- 开启审核模态窗口 -->
        <div class="modal fade" id="editModal" tabindex="-1" role="dialog">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                        <h4 class="modal-title"> 实名认证审核 <a class="btn btn-info btn-xs m-l-10" role="button" data-toggle="collapse" href="#OperationTipsAdd" aria-expanded="true" title="操作提示"> <i class="fa fa-exclamation"></i> &nbsp;提示 </a> </h4>
                    </div>
                    <div class="modal-body">
                        <ul class="text-info p-b-15 p-l-15 collapse in" role="tabpanel" id="OperationTipsAdd">
                            <li class="m-b-3">请写好备注</li>
                        </ul>
                        <form id="editForm" class="form-horizontal form-bordered p-0" autocomplete="off" action="${adminRoot}/userAuth/verify.json" method="post" data-parsley-validate="true">
                            <input type="hidden" id="id" name="id"/>
                            <div class="form-group">
                                <label class="control-label col-md-2 col-sm-3">客户ID&nbsp;:</label>
                                <div class="col-md-9 col-sm-8">
                                <input type="text" id="userId" class="form-control" autocomplete="off" data-tip="tooltip" data-placement="auto" readonly="true" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="control-label col-md-2 col-sm-3">真实姓名&nbsp;:</label>
                                <div class="col-md-9 col-sm-8">
                                <input type="text" id="realName" class="form-control" autocomplete="off" data-tip="tooltip" data-placement="auto" readonly="true" title="真实姓名"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="control-label col-md-2 col-sm-3">身份证号码&nbsp;:</label>
                                <div class="col-md-9 col-sm-8">
                                <input type="text" id="idcard" class="form-control" autocomplete="off" data-tip="tooltip" data-placement="auto" readonly="true" title="备注"/>
                                </div>
                            </div>
                            <!--<div>-->
                                <!--<dt><i class="required">*</i>审核：</dt>-->
                                <!--<dd>-->
                                    <!--<ul class="ncsc-form-radio-list">-->
                                        <!--<li><label><input id="specialState1" name="authStatus" value="2" type="radio" checked>通过</label></li>-->
                                        <!--<li><label><input id="specialState0" name="authStatus" value="3" type="radio">不通过</label></li>-->
                                    <!--</ul>-->
                                <!--</dd>-->
                            <!--</div>-->
                            <div class="form-group">
                                <label class="control-label col-md-2 col-sm-3">审核<i class="f-s-14 text-danger">*</i>&nbsp;: </label>
                                <div class="col-md-9 col-sm-8">
                                    <input id="authStatus" type="checkbox" class="authStatus" autocomplete="off"
                                           data-input-name="authStatus"
                                           data-size="small"
                                           data-on-color="primary"
                                           data-on-text="通过"
                                           data-off-text="不通过"
                                           data-input-true="2"
                                           data-input-false="3"
                                           checked/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="control-label col-md-2 col-sm-3">审核备注<i class="f-s-14 text-danger">*</i>&nbsp;: </label>
                                <div class="col-md-9 col-sm-8">
                                    <textarea id="remark" name="remark" class="form-control" rows="5" placeholder="请输入审核备注信息..."></textarea>
                                </div>
                            </div>
                            <!--<div>-->
                                <!--<dt><i class="required">*</i>备注：</dt>-->
                                    <!--<input id="remark" name="remark" title="备注" required>-->
                                <!--</dd>-->
                            <!--</div>-->
                        </form>
                    </div>
                    <div class="modal-footer"> <a href="javascript:;" class="btn btn-white" data-dismiss="modal">放弃操作</a> <a href="javascript:;" class="btn btn-primary" data-loading-text="Loading..." nc-ajax-submit-target="editForm" nc-ajax-submit>确认提交</a> </div>
                </div>
            </div>
        </div>
        <!-- 结束审核模态窗口 -->

        <!-- 开启查看模态窗口 -->
        <div class="modal fade" id="lookModal" tabindex="-1" role="dialog">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                        <h4 class="modal-title"> 实名认证详情</h4>
                    </div>
                    <div class="modal-body">
                      <form id="detailForm" class="form-horizontal form-bordered p-0" autocomplete="off" action="${adminRoot}userBank/json/detail" method="post" data-parsley-validate="true">
                          <input type="hidden" value="" name="id"/>
                          <div class="form-group">
                            <label class="control-label col-md-2 col-sm-3">客户ID&nbsp;:</label>
                            <div class="col-md-9 col-sm-8">
                                <input type="text" name="look_userId" class="form-control" autocomplete="off" data-tip="tooltip" data-placement="auto" readonly="true" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-2 col-sm-3">真实姓名&nbsp;:</label>
                            <div class="col-md-9 col-sm-8">
                                <input type="text" name="look_realName" class="form-control" autocomplete="off" data-tip="tooltip" data-placement="auto" readonly="true" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-2 col-sm-3">身份证号码&nbsp;:</label>
                            <div class="col-md-9 col-sm-8">
                                <input type="text" name="look_idcard" class="form-control" autocomplete="off" data-tip="tooltip" data-placement="auto" readonly="true" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-2 col-sm-3">认证时间&nbsp;:</label>
                            <div class="col-md-9 col-sm-8">
                                <input type="text" name="look_certificateTime" class="form-control" autocomplete="off" data-tip="tooltip" data-placement="auto" readonly="true" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-2 col-sm-3">审核&nbsp;:</label>
                            <div class="col-md-9 col-sm-8">
                                <input type="text" name="look_authStatus" class="form-control" autocomplete="off" data-tip="tooltip" data-placement="auto" readonly="true" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-2 col-sm-3">备注&nbsp;:</label>
                            <div class="col-md-9 col-sm-8">
                                <input type="text" name="look_remark" class="form-control" autocomplete="off" data-tip="tooltip" data-placement="auto" readonly="true" />
                            </div>
                        </div>

                        <!--<div class="form-group">-->
                            <!--<label class="control-label col-md-2 col-sm-3">客户ID&nbsp;:</label>-->
                            <!--<sanp  id="look_userId"></sanp>-->
                        <!--</div>-->
                        <!--<div class="form-group">-->
                            <!--<label class="control-label col-md-2 col-sm-3">真实姓名&nbsp;:</label>-->
                            <!--<sanp  id="look_realName"></sanp>-->
                        <!--</div>-->
                        <!--<div class="form-group">-->
                            <!--<label class="control-label col-md-2 col-sm-3">身份证号码&nbsp;:</label>-->
                            <!--<sanp  id="look_idcard"></sanp>-->
                        <!--</div>-->
                        <!--<div class="form-group">-->
                            <!--<label class="control-label col-md-2 col-sm-3">认证时间&nbsp;:</label>-->
                            <!--<sanp  id="look_certificateTime"></sanp>-->
                        <!--</div>-->
                        <!--<div class="form-group">-->
                            <!--<label class="control-label col-md-2 col-sm-3">审核&nbsp;:</label>-->
                            <!--<sanp  id="look_authStatus"></sanp>-->
                        <!--</div>-->
                        <!--<div class="form-group">-->
                            <!--<label class="control-label col-md-2 col-sm-3">备注&nbsp;:</label>-->
                            <!--<sanp  id="look_remark"></sanp>-->
                        <!--</div>-->
                      </form>
                    </div>
                </div>
            </div>
        </div>
        <!-- 结束查看模态窗口 -->

    </@list.html>
    <!-- ================== 开始页面级JavaScrip调用 ================== -->
    <script src="${pluginsRoot}bootstrap-wizard/js/bwizard.js"></script>
    <!-- 表单checkbox项 -->
    <script src="${pluginsRoot}bootstrap-switch/bootstrap-switch.min.js"></script>
    <!-- 日历控件 -->
    <script src="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/WdatePicker.js" defer="defer"></script>
    <script src="${jsRoot}realName/realName.handle.js"></script>
    <!-- ================== 结束页面级JavaScrip调用 ================== -->
</@c.html>
